home *** CD-ROM | disk | FTP | other *** search
- #import "LaunchCell.h"
- #import <appkit/Application.h>
- #import <appkit/Listener.h>
- #import <appkit/Speaker.h>
-
- @implementation LaunchCell: Cell
-
- - (BOOL)trackMouse:(NXEvent *)theEvent
- inRect:(const NXRect *)cellFrame
- ofView:controlView;
- { int aFlag;
- id speaker = [NXApp appSpeaker];
- // is this a ctrl-click?
- if (theEvent->flags & NX_SHIFTMASK)
- { NXRunAlertPanel("Holly Toledo","",NULL,NULL,NULL) ;
- /* [speaker setSendPort:
- NXPortFromName(NX_WORKSPACEREQUEST, NULL)];
- [speaker openFile: [theImage name] ok:&aFlag]; */
- }
- return [super trackMouse: theEvent inRect: cellFrame ofView: controlView] ;
- }
-
- @end